package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.MiniappDetailsDao;
import com.bootdo.system.domain.MiniappDetailsDO;
import com.bootdo.system.service.MiniappDetailsService;



@Service
public class MiniappDetailsServiceImpl implements MiniappDetailsService {
	@Autowired
	private MiniappDetailsDao miniappDetailsDao;
	
	@Override
	public MiniappDetailsDO get(Integer id){
		return miniappDetailsDao.get(id);
	}
	
	@Override
	public List<MiniappDetailsDO> list(Map<String, Object> map){
		return miniappDetailsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return miniappDetailsDao.count(map);
	}
	
	@Override
	public int save(MiniappDetailsDO miniappDetails){
		return miniappDetailsDao.save(miniappDetails);
	}
	
	@Override
	public int update(MiniappDetailsDO miniappDetails){
		return miniappDetailsDao.update(miniappDetails);
	}
	
	@Override
	public int remove(Integer id){
		return miniappDetailsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return miniappDetailsDao.batchRemove(ids);
	}

	@Override
	public List<MiniappDetailsDO> getListByStatus() {
		// TODO Auto-generated method stub
		return miniappDetailsDao.getListByStatus();
	}
	
}
